package com.aruba.diff;

/**
 * Created by aruba on 2018/3/22.
 */

public class DiffUtils {
    
    static {
        System.loadLibrary("diff-lib");
    }
    
    public native static int diff(String oldfile, String newfile, String patchfile);

    public native static int patch(String oldfile, String newfile, String patchfile);
    
    public static final String OLD_FILE_PATH = "mnt/sdcard/app-release-old.apk" ;
    public static final String NEW_FILE_PATH = "mnt/sdcard/app-release.apk" ;
    public static final String PATCH_FILE_PATH = "mnt/sdcard/App_patch.patch" ;
    public static final String NEW_FILE_PATH_BY_PATCH = "mnt/sdcard/app-release-patch.apk" ;
}
